/*
 * Copyright (c) 2023 Cshoo Org. All Rights Reserved.
 */

package org.cshoo.tattoo.datacenter.api.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 杨翼
 * @since 1.0
 */
@Data
public class AddConfigItemReq {
    @NotNull(message = "configId is required")
    @ApiModelProperty(value = "config id", example = "12", required = true)
    private Long configId;

    @NotBlank(message = "environment is required")
    @ApiModelProperty(value = "环境", required = true)
    private String environment;

    @ApiModelProperty(value = "值")
    private String value;
}
